package cluedo;

import java.util.*;

public class Room implements Card{
	private String name;
	private List<Tile> tiles;
	private List<Tile> doors;

	public Room(String name, int[][] doors, int[][] locations) {
		this.name = name;
		this.tiles = new ArrayList<Tile>();
		for(int[] i : locations)
			tiles.add(new Tile(false, i[0], i[1]));
		this.doors = new ArrayList<Tile>();
		for(int[] i : doors)
			this.doors.add(new Tile(true, i[0], i[1], this));
	}

	/**
	 * Get the name of this room
	 */
	public String getName() { return name; }


	/**
	 * Get the tiles
	 */
	public List<Tile> getTiles() { return tiles; }

	public List<Tile> getDoors() { return doors; }

	@Override
	public String name() {
		return name;
	}

	@Override
	public String imagePath() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Get access to the items in this room
	 * @return
	 */


}
